package com.gxl.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.gxl.pojo.Account;
import com.gxl.pojo.Users;

public interface AccountMapper {
	Account selByAccPwd(Account acc);
	Account selByAccName(Account acc);
	int updBalanceByAccount(Account acc);
	
	//基本属性传参数
	List<Account> selByAccountPwd(@Param("account")String account,@Param("password")String password);
	//要么直接传对象
	List<Account> selByAccountPwd2(Account account);
	List<Account> selByAccountPwd3(Account account);
	//分页查询
	List<Account> selByPage(@Param("pageStart")int pageStart,@Param("pageSize")int pageSize);
	
}
